<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Login pages</title>
<style>
	ul
	{
		list-style:none;
	}
	
</style>
</head>

<body>
<div>
<?php
echo form_open('admin/login');

$username = array(
				'name'=>'username',
				'id'=>'username',
				'value'=>''
);
$password = array(
				'name'=>'password',
				'id'=>'password',
				'value'=>''
);
?>
<ul>
<li>
	<label>Username</label>
	<div>
		<?php echo form_input($username);?>
	</div>
</li>
<li>
	<label>Password</label>
	<div>
		<?php echo form_password($password)?>
	</div>
</li>
<li>
	<?php echo validation_errors();?>
</li>
<li>
	<?php echo form_submit('register','Đăng nhập');?>
</li>

</ul>
<?php echo form_close();?>
</div>
</body>
</html>